package com.example.springboot.mapper;

import com.example.springboot.entity.Yard;
import com.example.springboot.entity.YardExample;
import com.example.springboot.entity.YardKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YardMapper {
    long countByExample(YardExample example);

    int deleteByExample(YardExample example);

    int deleteByPrimaryKey(YardKey key);

    int insert(Yard record);

    int insertSelective(Yard record);

    List<Yard> selectByExample(YardExample example);

    Yard selectByPrimaryKey(YardKey key);

    int updateByExampleSelective(@Param("record") Yard record, @Param("example") YardExample example);

    int updateByExample(@Param("record") Yard record, @Param("example") YardExample example);

    int updateByPrimaryKeySelective(Yard record);

    int updateByPrimaryKey(Yard record);

    int updateByPrimaryKeySubOne(Yard record);

    int updateByPrimaryKeyEqualsThree(Yard record);

    int updateByPrimaryKeyAddNotFull(Yard record);
}